import { useRequest } from './request';

/* -------------------------------------------------------------------------- */
/*                                    HOOK                                    */
/* -------------------------------------------------------------------------- */

export const useGetTask1 = () => {
  const { country, error, isLoading, mutate, refresh } = useRequest();

  return {
    /* ---------------------------------- Query --------------------------------- */
    country,
    isLoading,
    error,
    mutate,
    refresh,
    /* --------------------------------- / Query -------------------------------- */
  };
};

/* -------------------------------------------------------------------------- */
/*                                   / HOOK                                   */
/* -------------------------------------------------------------------------- */
